Skip to content

bpo-43795: Don't list private names in the limited API#26740

Merged
encukou merged 4 commits intopython:mainfrom
encukou:pep652-privatenamed-structs
Jun 16, 2021
Merged

bpo-43795: Don't list private names in the limited API#26740
encukou merged 4 commits intopython:mainfrom
encukou:pep652-privatenamed-structs

Conversation

@encukou
Copy link
Member

@encukou encukou commented Jun 15, 2021

  • Use the public alias PyFrameObject rather than _frame
  • Remove _node, which disappeared in 3.9 along with the old parser
  • Ensure private (underscore-prefixed) names are not on the Limited API list. (They can be part of the stable ABI, though, e.g. as implementation details of macros.)

This only affects documentation.

https://bugs.python.org/issue43795

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants